<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<form action="{% url 'addteacher' %}" method="post">
    {% csrf_token %}
    姓名: <input type="text" name="name" placeholder="请输入姓名">
    <br>
    性别: <input type="text" name="sex" placeholder="请输入性别">
    <br>
    出生年月: <input type="text" name="dateofbirth" placeholder="请输入出生年月">
    <br>
    联系方式: <input type="text" name="contactway" placeholder="请输入联系方式">
    <br>
    职位: <input type="text" name="position" placeholder="请输入目前职位">
    <br>
    <input type="submit" value="添加">
</form>
</body>
</html>